package com.bdqn.feign;

import com.bdqn.base.R;
import com.bdqn.pojo.Product;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * IProductService
 *
 * @author LILIBO
 * @since 2022-05-16
 */
@FeignClient("tmall-product")
public interface IProductService {

    @GetMapping("/product/test/{id}")
    R<Product> testProduct(@PathVariable("id") Integer id);

}
